package com.dis.service.mapper;

import com.dis.pojo.entity.Hospital;
import com.dis.pojo.queryDTO.HospitalPageQueryDTO;
import com.dis.pojo.vo.HospitalVO;
import org.apache.ibatis.annotations.Mapper;
import com.github.pagehelper.Page;

import java.util.List;

@Mapper
public interface HospitalMapper {
    void insert(Hospital hospital);
    Page<HospitalVO> pageQuery(HospitalPageQueryDTO hospitalPageQueryDTO);
    Hospital getById(Long id);
    void update(Hospital hospital);
    void deleteById(Long id);
    List<HospitalVO> listAll();


}
